home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_xemacs.idb / usr / freeware / lib / xemacs-20.4 / lisp / hm--html-menus / adapt.elc.z / adapt.elc
Emacs Compiled Lisp  |  1998-05-21  |  11.3 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was processed as: Emacs Compiled Lisp (other/emacsCompiledLisp).
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Emacs Compiled Lisp (other/emacsCompiledLisp) magic Unsupported
100% file Emacs/XEmacs v20 byte-compiled Lisp data default
99% file data default
100% TrID Emacs/XEmacs byte-compiled Lisp (generic) default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 14 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 6a 75 73 74 69 6e 62 |piled by| justinb|
|00000020| 40 65 62 6f 6e 79 2e 63 | 72 61 79 2e 63 6f 6d 20 |@ebony.c|ray.com |
|00000030| 6f 6e 20 4d 6f 6e 20 4d | 61 72 20 20 39 20 31 32 |on Mon M|ar 9 12|
|00000040| 3a 34 39 3a 34 35 20 31 | 39 39 38 0a 3b 3b 3b 20 |:49:45 1|998.;;; |
|00000050| 66 72 6f 6d 20 66 69 6c | 65 20 2f 68 6f 6d 65 2f |from fil|e /home/|
|00000060| 61 73 70 65 6e 30 37 2f | 6a 75 73 74 69 6e 62 2f |aspen07/|justinb/|
|00000070| 72 6f 6f 74 73 2f 66 72 | 65 65 77 61 72 65 2f 78 |roots/fr|eeware/x|
|00000080| 65 6d 61 63 73 2f 32 30 | 2e 33 2f 78 65 6d 61 63 |emacs/20|.3/xemac|
|00000090| 73 2d 32 30 2e 33 2f 6c | 69 73 70 2f 68 6d 2d 2d |s-20.3/l|isp/hm--|
|000000a0| 68 74 6d 6c 2d 6d 65 6e | 75 73 2f 61 64 61 70 74 |html-men|us/adapt|
|000000b0| 2e 65 6c 0a 3b 3b 3b 20 | 65 6d 61 63 73 20 76 65 |.el.;;; |emacs ve|
|000000c0| 72 73 69 6f 6e 20 32 30 | 2e 34 20 22 45 6d 65 72 |rsion 20|.4 "Emer|
|000000d0| 61 6c 64 22 20 58 45 6d | 61 63 73 20 20 4c 75 63 |ald" XEm|acs Luc|
|000000e0| 69 64 2e 0a 3b 3b 3b 20 | 62 79 74 65 63 6f 6d 70 |id..;;; |bytecomp|
|000000f0| 20 76 65 72 73 69 6f 6e | 20 32 2e 32 35 20 58 45 | version| 2.25 XE|
|00000100| 6d 61 63 73 3b 20 32 32 | 2d 4d 61 72 2d 39 36 2e |macs; 22|-Mar-96.|
|00000110| 0a 3b 3b 3b 20 6f 70 74 | 69 6d 69 7a 61 74 69 6f |.;;; opt|imizatio|
|00000120| 6e 20 69 73 20 6f 6e 2e | 0a 3b 3b 3b 20 74 68 69 |n is on.|.;;; thi|
|00000130| 73 20 66 69 6c 65 20 75 | 73 65 73 20 6f 70 63 6f |s file u|ses opco|
|00000140| 64 65 73 20 77 68 69 63 | 68 20 64 6f 20 6e 6f 74 |des whic|h do not|
|00000150| 20 65 78 69 73 74 20 69 | 6e 20 45 6d 61 63 73 20 | exist i|n Emacs |
|00000160| 31 39 2e 0a 0a 28 69 66 | 20 28 61 6e 64 20 28 62 |19...(if| (and (b|
|00000170| 6f 75 6e 64 70 20 27 65 | 6d 61 63 73 2d 76 65 72 |oundp 'e|macs-ver|
|00000180| 73 69 6f 6e 29 0a 09 20 | 28 6f 72 20 28 61 6e 64 |sion).. |(or (and|
|00000190| 20 28 62 6f 75 6e 64 70 | 20 27 65 70 6f 63 68 3a | (boundp| 'epoch:|
|000001a0| 3a 76 65 72 73 69 6f 6e | 29 20 65 70 6f 63 68 3a |:version|) epoch:|
|000001b0| 3a 76 65 72 73 69 6f 6e | 29 0a 09 20 20 20 20 20 |:version|).. |
|000001c0| 28 73 74 72 69 6e 67 2d | 6c 65 73 73 70 20 65 6d |(string-|lessp em|
|000001d0| 61 63 73 2d 76 65 72 73 | 69 6f 6e 20 22 32 30 22 |acs-vers|ion "20"|
|000001e0| 29 29 29 0a 20 20 20 20 | 28 65 72 72 6f 72 20 22 |))). |(error "|
|000001f0| 60 61 64 61 70 74 2e 65 | 6c 27 20 77 61 73 20 63 |`adapt.e|l' was c|
|00000200| 6f 6d 70 69 6c 65 64 20 | 66 6f 72 20 45 6d 61 63 |ompiled |for Emac|
|00000210| 73 20 32 30 22 29 29 0a | 0a 28 6f 72 20 28 62 6f |s 20")).|.(or (bo|
|00000220| 75 6e 64 70 20 27 63 75 | 72 72 65 6e 74 2d 6c 6f |undp 'cu|rrent-lo|
|00000230| 61 64 2d 6c 69 73 74 29 | 20 28 73 65 74 71 20 63 |ad-list)| (setq c|
|00000240| 75 72 72 65 6e 74 2d 6c | 6f 61 64 2d 6c 69 73 74 |urrent-l|oad-list|
|00000250| 20 6e 69 6c 29 29 0a 0a | 0a 23 40 34 36 20 52 65 | nil))..|.#@46 Re|
|00000260| 74 75 72 6e 73 20 6e 6f | 6e 20 6e 69 6c 20 69 66 |turns no|n nil if|
|00000270| 20 74 68 65 20 65 64 69 | 74 6f 72 20 69 73 20 74 | the edi|tor is t|
|00000280| 68 65 20 58 45 6d 61 63 | 73 2e 1f 0a 28 64 65 66 |he XEmac|s...(def|
|00000290| 61 6c 69 61 73 20 27 61 | 64 61 70 74 2d 78 65 6d |alias 'a|dapt-xem|
|000002a0| 61 63 73 70 20 23 5b 6e | 69 6c 20 22 c0 c1 5c 6e |acsp #[n|il "..\n|
|000002b0| 5c 22 ae 84 c0 c3 5c 6e | 5c 22 87 22 20 5b 73 74 |\"....\n|\"." [st|
|000002c0| 72 69 6e 67 2d 6d 61 74 | 63 68 20 22 4c 75 63 69 |ring-mat|ch "Luci|
|000002d0| 64 22 20 65 6d 61 63 73 | 2d 76 65 72 73 69 6f 6e |d" emacs|-version|
|000002e0| 20 22 58 45 6d 61 63 73 | 22 5d 20 33 20 28 23 24 | "XEmacs|"] 3 (#$|
|000002f0| 20 2e 20 36 30 36 29 5d | 29 0a 23 40 39 36 20 52 | . 606)]|).#@96 R|
|00000300| 65 74 75 72 6e 73 20 6e | 6f 6e 20 6e 69 6c 20 69 |eturns n|on nil i|
|00000310| 66 20 74 68 65 20 65 64 | 69 74 6f 72 20 69 73 20 |f the ed|itor is |
|00000320| 74 68 65 20 58 45 6d 61 | 63 73 2e 0a 4f 6c 64 20 |the XEma|cs..Old |
|00000330| 76 65 72 73 69 6f 6e 2c | 20 75 73 65 20 60 61 64 |version,| use `ad|
|00000340| 61 70 74 2d 78 65 6d 61 | 63 73 70 27 20 69 6e 73 |apt-xema|csp' ins|
|00000350| 74 65 61 64 20 6f 66 20 | 74 68 69 73 2e 1f 0a 28 |tead of |this...(|
|00000360| 64 65 66 61 6c 69 61 73 | 20 27 61 64 61 70 74 2d |defalias| 'adapt-|
|00000370| 6c 65 6d 61 63 73 70 20 | 23 5b 6e 69 6c 20 22 c0 |lemacsp |#[nil ".|
|00000380| c1 5c 6e 5c 22 ae 84 c0 | c3 5c 6e 5c 22 87 22 20 |.\n\"...|.\n\"." |
|00000390| 5b 73 74 72 69 6e 67 2d | 6d 61 74 63 68 20 22 4c |[string-|match "L|
|000003a0| 75 63 69 64 22 20 65 6d | 61 63 73 2d 76 65 72 73 |ucid" em|acs-vers|
|000003b0| 69 6f 6e 20 22 58 45 6d | 61 63 73 22 5d 20 33 20 |ion "XEm|acs"] 3 |
|000003c0| 28 23 24 20 2e 20 37 36 | 37 29 5d 29 0a 23 40 35 |(#$ . 76|7)]).#@5|
|000003d0| 32 20 52 65 74 75 72 6e | 73 20 6e 6f 6e 20 6e 69 |2 Return|s non ni|
|000003e0| 6c 20 69 66 20 74 68 65 | 20 65 64 69 74 6f 72 20 |l if the| editor |
|000003f0| 69 73 20 74 68 65 20 47 | 4e 55 20 45 6d 61 63 73 |is the G|NU Emacs|
|00000400| 20 31 39 2e 1f 0a 28 64 | 65 66 61 6c 69 61 73 20 | 19...(d|efalias |
|00000410| 27 61 64 61 70 74 2d 65 | 6d 61 63 73 31 39 70 20 |'adapt-e|macs19p |
|00000420| 23 5b 6e 69 6c 20 22 c0 | 20 3f ad 86 09 c2 c3 4f |#[nil ".| ?.....O|
|00000430| c4 98 87 22 20 5b 61 64 | 61 70 74 2d 78 65 6d 61 |..." [ad|apt-xema|
|00000440| 63 73 70 20 65 6d 61 63 | 73 2d 76 65 72 73 69 6f |csp emac|s-versio|
|00000450| 6e 20 30 20 32 20 22 31 | 39 22 5d 20 33 20 28 23 |n 0 2 "1|9"] 3 (#|
|00000460| 24 20 2e 20 39 37 38 29 | 5d 29 0a 23 40 33 35 20 |$ . 978)|]).#@35 |
|00000470| 52 65 74 75 72 6e 73 20 | 74 2c 20 69 66 20 61 20 |Returns |t, if a |
|00000480| 72 65 67 69 6f 6e 20 69 | 73 20 61 63 74 69 76 65 |region i|s active|
|00000490| 2e 1f 0a 28 64 65 66 61 | 6c 69 61 73 20 27 61 64 |...(defa|lias 'ad|
|000004a0| 61 70 74 2d 72 65 67 69 | 6f 6e 2d 61 63 74 69 76 |apt-regi|on-activ|
|000004b0| 65 2d 70 20 23 5b 6e 69 | 6c 20 22 c0 20 ab 83 c1 |e-p #[ni|l ". ...|
|000004c0| 20 87 5c 6e 87 22 20 5b | 61 64 61 70 74 2d 78 65 | .\n." [|adapt-xe|
|000004d0| 6d 61 63 73 70 20 6d 61 | 72 6b 20 6d 61 72 6b 2d |macsp ma|rk mark-|
|000004e0| 61 63 74 69 76 65 5d 20 | 31 20 28 23 24 20 2e 20 |active] |1 (#$ . |
|000004f0| 31 31 33 36 29 5d 29 0a | 28 62 79 74 65 2d 63 6f |1136)]).|(byte-co|
|00000500| 64 65 20 22 c0 c1 21 ac | 84 c1 c2 4d 88 c3 20 83 |de "..!.|...M.. .|
|00000510| cf 01 c4 c5 21 88 c4 c6 | 21 88 0e 07 ab 84 c8 c9 |....!...|!.......|
|00000520| 21 88 ca cb 21 88 cc cd | 4d 88 ce cf 21 ac 83 d0 |!...!...|M...!...|
|00000530| 16 0f cf 0e 11 42 16 11 | d2 cf d3 d4 23 88 0e 0f |.....B..|....#...|
|00000540| ac 85 cf d5 4b 4d 88 d5 | d6 4d 88 d7 d8 4d 88 d9 |....KM..|.M...M..|
|00000550| da 4d 88 db dc 4d 88 dd | de 4d 88 c0 df 21 ac 84 |.M...M..|.M...!..|
|00000560| df e0 4d 88 c0 e1 21 ac | 84 e1 e2 4d 88 c0 e3 21 |..M...!.|...M...!|
|00000570| ac 84 e3 e4 4d 88 c0 e5 | 21 ac 84 e5 e6 4d 88 c0 |....M...|!....M..|
|00000580| e7 21 ac 84 e7 e8 4d 88 | c0 e9 21 ac 84 e9 ea 4d |.!....M.|..!....M|
|00000590| 88 c0 eb 21 ac 84 eb ec | 4d 88 c0 ed 21 ac 84 ed |...!....|M...!...|
|000005a0| ee 4d 88 c0 ef 21 ac 84 | ef f0 4d 88 c0 f1 21 ac |.M...!..|..M...!.|
|000005b0| 84 f1 f2 4d 88 c0 f3 21 | ac 84 f3 f4 4d 88 c0 f5 |...M...!|....M...|
|000005c0| 21 ac 84 f5 f6 4d 88 c0 | f7 21 ac 84 f7 f8 4d 88 |!....M..|.!....M.|
|000005d0| c0 f9 21 ac 84 f9 fa 4d | 88 c0 fb 21 ac 85 fc fb |..!....M|...!....|
|000005e0| fd 5c 22 88 c0 fe 21 ac | 85 fc fe ff 5c 22 88 c0 |.\"...!.|....\"..|
|000005f0| 81 40 00 21 ac 88 81 40 | 00 81 41 00 4d 88 ce 81 |.@.!...@|..A.M...|
|00000600| 42 00 21 ac 9e ce 81 42 | 00 21 ac 85 81 43 00 16 |B.!....B|.!...C..|
|00000610| 42 81 42 00 0e 11 42 16 | 11 d2 81 42 00 d3 81 44 |B.B...B.|...B...D|
|00000620| 00 23 88 c0 81 45 00 21 | ac 88 81 45 00 81 46 00 |.#...E.!|...E..F.|
|00000630| 4d 88 c0 81 47 00 21 ac | 88 81 47 00 81 48 00 4d |M...G.!.|..G..H.M|
|00000640| 88 c0 81 49 00 21 ac 89 | fc 81 49 00 81 4a 00 5c |...I.!..|..I..J.\|
|00000650| 22 88 c0 81 4b 00 21 ac | ac 81 4b 00 81 4c 00 4d |"...K.!.|..K..L.M|
|00000660| 88 81 4b 00 81 4d 00 4e | 81 4e 00 73 ac 8b 81 4f |..K..M.N|.N.s...O|
|00000670| 00 81 50 00 81 4b 00 5c | 22 88 d2 81 4b 00 81 4d |..P..K.\|"...K..M|
|00000680| 00 81 51 00 23 88 c0 81 | 52 00 21 ac ac 81 52 00 |..Q.#...|R.!...R.|
|00000690| 81 53 00 4d 88 81 52 00 | 81 4d 00 4e 81 4e 00 73 |.S.M..R.|.M.N.N.s|
|000006a0| ac 8b 81 4f 00 81 50 00 | 81 52 00 5c 22 88 d2 81 |...O..P.|.R.\"...|
|000006b0| 52 00 81 4d 00 81 51 00 | 23 88 c0 81 54 00 21 ac |R..M..Q.|#...T.!.|
|000006c0| 88 81 54 00 81 55 00 4d | 88 c0 81 56 00 21 ac 88 |..T..U.M|...V.!..|
|000006d0| 81 56 00 81 57 00 4d 88 | 81 58 00 81 59 00 21 87 |.V..W.M.|.X..Y.!.|
|000006e0| 22 20 5b 66 62 6f 75 6e | 64 70 20 66 69 6c 65 2d |" [fboun|dp file-|
|000006f0| 72 65 6d 6f 74 65 2d 70 | 20 23 5b 28 66 69 6c 65 |remote-p| #[(file|
|00000700| 29 20 22 c0 c1 21 ac 84 | c2 c1 21 88 c3 c4 21 ad |) "..!..|..!...!.|
|00000710| 84 c5 0e 06 21 87 22 20 | 5b 66 65 61 74 75 72 65 |....!." |[feature|
|00000720| 70 20 61 6e 67 65 2d 66 | 74 70 20 72 65 71 75 69 |p ange-f|tp requi|
|00000730| 72 65 20 66 62 6f 75 6e | 64 70 20 61 6e 67 65 2d |re fboun|dp ange-|
|00000740| 66 74 70 2d 66 74 70 2d | 70 20 61 6e 67 65 2d 66 |ftp-ftp-|p ange-f|
|00000750| 74 70 2d 66 74 70 2d 70 | 61 74 68 20 66 69 6c 65 |tp-ftp-p|ath file|
|00000760| 5d 20 32 20 22 54 65 73 | 74 20 77 65 74 68 65 72 |] 2 "Tes|t wether|
|00000770| 20 66 69 6c 65 20 72 65 | 73 69 64 65 73 20 6f 6e | file re|sides on|
|00000780| 20 74 68 65 20 6c 6f 63 | 61 6c 20 73 79 73 74 65 | the loc|al syste|
|00000790| 6d 2e 5c 6e 54 68 65 20 | 73 70 65 63 69 61 6c 20 |m.\nThe |special |
|000007a0| 76 61 6c 75 65 20 27 75 | 6e 6b 6e 6f 77 6e 20 69 |value 'u|nknown i|
|000007b0| 73 20 72 65 74 75 72 6e | 65 64 20 69 66 20 6e 6f |s return|ed if no|
|000007c0| 20 72 65 6d 6f 74 65 20 | 66 69 6c 65 20 61 63 65 | remote |file ace|
|000007d0| 73 73 20 70 61 63 6b 61 | 67 65 5c 6e 68 61 73 20 |ss packa|ge\nhas |
|000007e0| 62 65 65 6e 20 6c 6f 61 | 64 65 64 2e 22 5d 20 61 |been loa|ded."] a|
|000007f0| 64 61 70 74 2d 65 6d 61 | 63 73 31 39 70 20 6c 6f |dapt-ema|cs19p lo|
|00000800| 61 64 2d 6c 69 62 72 61 | 72 79 20 22 6c 75 63 69 |ad-libra|ry "luci|
|00000810| 64 22 20 22 6c 6d 65 6e | 75 22 20 77 69 6e 64 6f |d" "lmen|u" windo|
|00000820| 77 2d 73 79 73 74 65 6d | 20 72 65 71 75 69 72 65 |w-system| require|
|00000830| 20 66 6f 6e 74 2d 6c 6f | 63 6b 20 6d 61 6b 65 2d | font-lo|ck make-|
|00000840| 66 61 63 65 20 66 6f 6e | 74 2d 6c 6f 63 6b 2d 63 |face fon|t-lock-c|
|00000850| 6f 6d 6d 65 6e 74 2d 66 | 61 63 65 20 72 65 61 64 |omment-f|ace read|
|00000860| 2d 6e 75 6d 62 65 72 20 | 23 5b 28 70 72 6f 6d 70 |-number |#[(promp|
|00000870| 74 20 26 6f 70 74 69 6f | 6e 61 6c 20 69 6e 74 65 |t &optio|nal inte|
|00000880| 67 65 72 73 2d 6f 6e 6c | 79 29 20 22 c0 c1 1a 1b |gers-onl|y) "....|
|00000890| 0c ab 9d 0b ab b7 c5 0e | 06 21 89 1e 07 c8 98 3f |........|.!.....?|
|000008a0| ad 84 c9 0e 07 21 89 12 | a8 ab 82 c1 13 29 aa 63 |.....!..|.....).c|
|000008b0| 0b ab 9a c5 0e 06 21 89 | 1e 07 c8 98 3f ad 84 c9 |......!.|....?...|
|000008c0| 0e 07 21 89 12 a7 ab 82 | c1 13 29 aa 63 5c 6e 2a |..!.....|..).c\n*|
|000008d0| 87 22 20 5b 74 20 6e 69 | 6c 20 6e 75 6d 62 65 72 |." [t ni|l number|
|000008e0| 20 65 72 72 6f 72 20 69 | 6e 74 65 67 65 72 73 2d | error i|ntegers-|
|000008f0| 6f 6e 6c 79 20 72 65 61 | 64 2d 73 74 72 69 6e 67 |only rea|d-string|
|00000900| 20 70 72 6f 6d 70 74 20 | 69 6e 70 75 74 2d 73 74 | prompt |input-st|
|00000910| 72 69 6e 67 20 22 22 20 | 72 65 61 64 5d 20 33 20 |ring "" |read] 3 |
|00000920| 22 52 65 61 64 73 20 61 | 20 6e 75 6d 62 65 72 20 |"Reads a| number |
|00000930| 66 72 6f 6d 20 74 68 65 | 20 6d 69 6e 69 62 75 66 |from the| minibuf|
|00000940| 66 65 72 2e 22 20 6e 69 | 6c 5d 20 62 6f 75 6e 64 |fer." ni|l] bound|
|00000950| 70 20 6f 72 69 67 69 6e | 61 6c 2d 72 65 61 64 2d |p origin|al-read-|
|00000960| 73 74 72 69 6e 67 2d 66 | 75 6e 63 74 69 6f 6e 20 |string-f|unction |
|00000970| 6e 69 6c 20 63 75 72 72 | 65 6e 74 2d 6c 6f 61 64 |nil curr|ent-load|
|00000980| 2d 6c 69 73 74 20 70 75 | 74 20 76 61 72 69 61 62 |-list pu|t variab|
|00000990| 6c 65 2d 64 6f 63 75 6d | 65 6e 74 61 74 69 6f 6e |le-docum|entation|
|000009a0| 20 22 50 6f 69 6e 74 73 | 20 74 6f 20 74 68 65 20 | "Points| to the |
|000009b0| 6f 72 69 67 69 6e 61 6c | 20 45 6d 61 63 73 20 31 |original| Emacs 1|
|000009c0| 39 20 66 75 6e 63 74 69 | 6f 6e 20 72 65 61 64 2d |9 functi|on read-|
|000009d0| 73 74 72 69 6e 67 2e 22 | 20 72 65 61 64 2d 73 74 |string."| read-st|
|000009e0| 72 69 6e 67 20 23 5b 28 | 70 72 6f 6d 70 74 20 26 |ring #[(|prompt &|
|000009f0| 6f 70 74 69 6f 6e 61 6c | 20 69 6e 69 74 69 61 6c |optional| initial|
|00000a00| 2d 63 6f 6e 74 65 6e 74 | 73 20 68 69 73 74 6f 72 |-content|s histor|
|00000a10| 79 29 20 22 c0 09 5c 6e | c3 89 0c 25 87 22 20 5b |y) "..\n|...%." [|
|00000a20| 72 65 61 64 2d 66 72 6f | 6d 2d 6d 69 6e 69 62 75 |read-fro|m-minibu|
|00000a30| 66 66 65 72 20 70 72 6f | 6d 70 74 20 69 6e 69 74 |ffer pro|mpt init|
|00000a40| 69 61 6c 2d 63 6f 6e 74 | 65 6e 74 73 20 6e 69 6c |ial-cont|ents nil|
|00000a50| 20 68 69 73 74 6f 72 79 | 5d 20 36 20 22 52 65 74 | history|] 6 "Ret|
|00000a60| 75 72 6e 20 61 20 73 74 | 72 69 6e 67 20 66 72 6f |urn a st|ring fro|
|00000a70| 6d 20 74 68 65 20 6d 69 | 6e 69 62 75 66 66 65 72 |m the mi|nibuffer|
|00000a80| 2c 20 70 72 6f 6d 70 74 | 69 6e 67 20 77 69 74 68 |, prompt|ing with|
|00000a90| 20 73 74 72 69 6e 67 20 | 50 52 4f 4d 50 54 2e 5c | string |PROMPT.\|
|00000aa0| 6e 49 66 20 6e 6f 6e 2d | 6e 69 6c 2c 20 6f 70 74 |nIf non-|nil, opt|
|00000ab0| 69 6f 6e 61 6c 20 73 65 | 63 6f 6e 64 20 61 72 67 |ional se|cond arg|
|00000ac0| 20 49 4e 49 54 49 41 4c | 2d 43 4f 4e 54 45 4e 54 | INITIAL|-CONTENT|
|00000ad0| 53 20 69 73 20 61 20 73 | 74 72 69 6e 67 20 74 6f |S is a s|tring to|
|00000ae0| 20 69 6e 73 65 72 74 5c | 6e 69 6e 20 74 68 65 20 | insert\|nin the |
|00000af0| 6d 69 6e 69 62 75 66 66 | 65 72 20 62 65 66 6f 72 |minibuff|er befor|
|00000b00| 65 20 72 65 61 64 69 6e | 67 2e 5c 6e 54 68 69 72 |e readin|g.\nThir|
|00000b10| 64 20 61 72 67 20 48 49 | 53 54 4f 52 59 2c 20 69 |d arg HI|STORY, i|
|00000b20| 66 20 6e 6f 6e 2d 6e 69 | 6c 2c 20 73 70 65 63 69 |f non-ni|l, speci|
|00000b30| 66 69 65 73 20 61 20 68 | 69 73 74 6f 72 79 20 6c |fies a h|istory l|
|00000b40| 69 73 74 2e 22 5d 20 6d | 61 6b 65 2d 65 78 74 65 |ist."] m|ake-exte|
|00000b50| 6e 74 20 23 5b 28 62 65 | 67 20 65 6e 64 20 26 6f |nt #[(be|g end &o|
|00000b60| 70 74 69 6f 6e 61 6c 20 | 62 75 66 66 65 72 29 20 |ptional |buffer) |
|00000b70| 22 c0 09 5c 6e 0b 23 87 | 22 20 5b 6d 61 6b 65 2d |"..\n.#.|" [make-|
|00000b80| 6f 76 65 72 6c 61 79 20 | 62 65 67 20 65 6e 64 20 |overlay |beg end |
|00000b90| 62 75 66 66 65 72 5d 20 | 34 5d 20 73 65 74 2d 65 |buffer] |4] set-e|
|00000ba0| 78 74 65 6e 74 2d 70 72 | 6f 70 65 72 74 79 20 23 |xtent-pr|operty #|
|00000bb0| 5b 28 65 78 74 65 6e 74 | 20 70 72 6f 70 20 76 61 |[(extent| prop va|
|00000bc0| 6c 75 65 29 20 22 08 c1 | 61 ab b4 5c 6e ab 97 c3 |lue) "..|a..\n...|
|00000bd0| 0c 08 5c 22 ac 91 c5 c6 | 0c 21 c7 0c 21 c8 0c 21 |..\"....|.!..!..!|
|00000be0| c9 0c 21 24 88 aa ae 5c | 6e ac ab c3 0c 08 5c 22 |..!$...\|n.....\"|
|00000bf0| ab a5 ca c6 0c 21 c7 0c | 21 c8 0c 21 c9 0c 21 24 |.....!..|!..!..!$|
|00000c00| 88 aa 94 c3 0c c1 5c 22 | ab 8e cb c6 0c 21 c7 0c |......\"|.....!..|
|00000c10| 21 08 5c 6e c9 0c 21 25 | 88 cc 0c 08 5c 6e 23 87 |!.\n..!%|....\n#.|
|00000c20| 22 20 5b 70 72 6f 70 20 | 64 75 70 6c 69 63 61 62 |" [prop |duplicab|
|00000c30| 6c 65 20 76 61 6c 75 65 | 20 6f 76 65 72 6c 61 79 |le value| overlay|
|00000c40| 2d 67 65 74 20 65 78 74 | 65 6e 74 20 61 64 64 2d |-get ext|ent add-|
|00000c50| 74 65 78 74 2d 70 72 6f | 70 65 72 74 69 65 73 20 |text-pro|perties |
|00000c60| 6f 76 65 72 6c 61 79 2d | 73 74 61 72 74 20 6f 76 |overlay-|start ov|
|00000c70| 65 72 6c 61 79 2d 65 6e | 64 20 6f 76 65 72 6c 61 |erlay-en|d overla|
|00000c80| 79 2d 70 72 6f 70 65 72 | 74 69 65 73 20 6f 76 65 |y-proper|ties ove|
|00000c90| 72 6c 61 79 2d 62 75 66 | 66 65 72 20 72 65 6d 6f |rlay-buf|fer remo|
|00000ca0| 76 65 2d 74 65 78 74 2d | 70 72 6f 70 65 72 74 69 |ve-text-|properti|
|00000cb0| 65 73 20 70 75 74 2d 74 | 65 78 74 2d 70 72 6f 70 |es put-t|ext-prop|
|00000cc0| 65 72 74 79 20 6f 76 65 | 72 6c 61 79 2d 70 75 74 |erty ove|rlay-put|
|00000cd0| 5d 20 37 5d 20 73 65 74 | 2d 65 78 74 65 6e 74 2d |] 7] set|-extent-|
|00000ce0| 66 61 63 65 20 23 5b 28 | 65 78 74 65 6e 74 20 66 |face #[(|extent f|
|00000cf0| 61 63 65 29 20 22 c0 09 | c2 5c 6e 23 87 22 20 5b |ace) "..|.\n#." [|
|00000d00| 73 65 74 2d 65 78 74 65 | 6e 74 2d 70 72 6f 70 65 |set-exte|nt-prope|
|00000d10| 72 74 79 20 65 78 74 65 | 6e 74 20 66 61 63 65 5d |rty exte|nt face]|
|00000d20| 20 34 5d 20 64 65 6c 65 | 74 65 2d 65 78 74 65 6e | 4] dele|te-exten|
|00000d30| 74 20 23 5b 28 65 78 74 | 65 6e 74 29 20 22 c0 09 |t #[(ext|ent) "..|
|00000d40| c2 c3 23 88 c4 09 21 87 | 22 20 5b 73 65 74 2d 65 |..#...!.|" [set-e|
|00000d50| 78 74 65 6e 74 2d 70 72 | 6f 70 65 72 74 79 20 65 |xtent-pr|operty e|
|00000d60| 78 74 65 6e 74 20 64 75 | 70 6c 69 63 61 62 6c 65 |xtent du|plicable|
|00000d70| 20 6e 69 6c 20 64 65 6c | 65 74 65 2d 6f 76 65 72 | nil del|ete-over|
|00000d80| 6c 61 79 5d 20 34 5d 20 | 65 6d 61 63 73 2d 70 69 |lay] 4] |emacs-pi|
|00000d90| 64 20 23 5b 6e 69 6c 20 | 22 c0 87 22 20 5b 30 5d |d #[nil |".." [0]|
|00000da0| 20 31 20 22 52 65 74 75 | 72 6e 20 74 68 65 20 70 | 1 "Retu|rn the p|
|00000db0| 72 6f 63 65 73 73 20 49 | 44 20 6f 66 20 45 6d 61 |rocess I|D of Ema|
|00000dc0| 63 73 2c 20 61 73 20 61 | 6e 20 69 6e 74 65 67 65 |cs, as a|n intege|
|00000dd0| 72 2e 5c 6e 54 68 69 73 | 20 69 73 20 61 20 64 75 |r.\nThis| is a du|
|00000de0| 6d 6d 79 20 66 75 6e 63 | 74 69 6f 6e 20 66 6f 72 |mmy func|tion for|
|00000df0| 20 6f 6c 64 20 76 65 72 | 73 69 6f 6e 73 20 6f 66 | old ver|sions of|
|00000e00| 20 74 68 65 20 45 6d 61 | 63 73 20 31 39 2e 5c 6e | the Ema|cs 19.\n|
|00000e10| 59 6f 75 20 73 68 6f 75 | 6c 64 20 69 6e 73 74 61 |You shou|ld insta|
|00000e20| 6c 6c 20 61 20 6e 65 77 | 20 76 65 72 73 69 6f 6e |ll a new| version|
|00000e30| 2c 20 77 68 69 63 68 20 | 68 61 73 20 60 65 6d 61 |, which |has `ema|
|00000e40| 63 73 2d 70 69 64 27 20 | 69 6d 70 6c 65 6d 65 6e |cs-pid' |implemen|
|00000e50| 74 65 64 2e 22 5d 20 66 | 61 63 65 70 20 23 5b 28 |ted."] f|acep #[(|
|00000e60| 6f 62 6a 65 63 74 29 20 | 22 c0 87 22 20 5b 6e 69 |object) |".." [ni|
|00000e70| 6c 5d 20 31 20 22 57 68 | 65 74 68 65 72 20 4f 42 |l] 1 "Wh|ether OB|
|00000e80| 4a 45 43 54 20 69 73 20 | 61 20 46 41 43 45 2e 5c |JECT is |a FACE.\|
|00000e90| 6e 49 74 27 73 20 6f 6e | 6c 79 20 61 20 64 75 6d |nIt's on|ly a dum|
|00000ea0| 6d 79 20 66 75 6e 63 74 | 69 6f 6e 20 69 6e 20 74 |my funct|ion in t|
|00000eb0| 68 65 20 45 6d 61 63 73 | 20 31 39 2c 20 77 68 69 |he Emacs| 19, whi|
|00000ec0| 63 68 20 72 65 74 75 72 | 6e 73 20 61 6c 77 61 79 |ch retur|ns alway|
|00000ed0| 73 20 6e 69 6c 2e 22 5d | 20 72 65 67 69 6f 6e 2d |s nil."]| region-|
|00000ee0| 61 63 74 69 76 65 2d 70 | 20 23 5b 6e 69 6c 20 22 |active-p| #[nil "|
|00000ef0| c0 20 87 22 20 5b 61 64 | 61 70 74 2d 72 65 67 69 |. ." [ad|apt-regi|
|00000f00| 6f 6e 2d 61 63 74 69 76 | 65 2d 70 5d 20 31 20 22 |on-activ|e-p] 1 "|
|00000f10| 4e 6f 6e 2d 6e 69 6c 20 | 69 66 66 20 74 68 65 20 |Non-nil |iff the |
|00000f20| 72 65 67 69 6f 6e 20 69 | 73 20 61 63 74 69 76 65 |region i|s active|
|00000f30| 2e 5c 6e 49 66 20 60 7a | 6d 61 63 73 2d 72 65 67 |.\nIf `z|macs-reg|
|00000f40| 69 6f 6e 73 27 20 69 73 | 20 74 72 75 65 2c 20 74 |ions' is| true, t|
|00000f50| 68 69 73 20 69 73 20 65 | 71 75 69 76 61 6c 65 6e |his is e|quivalen|
|00000f60| 74 20 74 6f 20 60 72 65 | 67 69 6f 6e 2d 65 78 69 |t to `re|gion-exi|
|00000f70| 73 74 73 2d 70 27 2e 5c | 6e 4f 74 68 65 72 77 69 |sts-p'.\|nOtherwi|
|00000f80| 73 65 2c 20 74 68 69 73 | 20 66 75 6e 63 74 69 6f |se, this| functio|
|00000f90| 6e 20 61 6c 77 61 79 73 | 20 72 65 74 75 72 6e 73 |n always| returns|
|00000fa0| 20 66 61 6c 73 65 2e 22 | 5d 20 6e 65 78 74 2d 63 | false."|] next-c|
|00000fb0| 6f 6d 6d 61 6e 64 2d 65 | 76 65 6e 74 20 23 5b 28 |ommand-e|vent #[(|
|00000fc0| 26 6f 70 74 69 6f 6e 61 | 6c 20 65 76 65 6e 74 20 |&optiona|l event |
|00000fd0| 70 72 6f 6d 70 74 29 20 | 22 c0 09 21 88 5c 6e ae |prompt) |"..!.\n.|
|00000fe0| 82 c3 20 87 22 20 5b 6d | 65 73 73 61 67 65 20 70 |.. ." [m|essage p|
|00000ff0| 72 6f 6d 70 74 20 65 76 | 65 6e 74 20 72 65 61 64 |rompt ev|ent read|
|00001000| 2d 65 76 65 6e 74 5d 20 | 32 20 22 55 6e 6c 69 6b |-event] |2 "Unlik|
|00001010| 65 20 74 68 65 20 58 45 | 6d 61 63 73 20 76 65 72 |e the XE|macs ver|
|00001020| 73 69 6f 6e 20 69 74 20 | 72 65 61 64 73 20 74 68 |sion it |reads th|
|00001030| 65 20 6e 65 78 74 20 65 | 76 65 6e 74 2c 20 69 66 |e next e|vent, if|
|00001040| 5c 6e 69 74 20 69 73 20 | 61 20 63 6f 6d 6d 61 6e |\nit is |a comman|
|00001050| 64 20 65 76 65 6e 74 20 | 6f 72 20 6e 6f 74 2e 5c |d event |or not.\|
|00001060| 6e 5c 6e 52 65 74 75 72 | 6e 20 74 68 65 20 6e 65 |n\nRetur|n the ne|
|00001070| 78 74 20 61 76 61 69 6c | 61 62 6c 65 20 5c 22 75 |xt avail|able \"u|
|00001080| 73 65 72 5c 22 20 65 76 | 65 6e 74 2e 5c 6e 20 50 |ser\" ev|ent.\n P|
|00001090| 61 73 73 20 74 68 69 73 | 20 6f 62 6a 65 63 74 20 |ass this| object |
|000010a0| 74 6f 20 60 64 69 73 70 | 61 74 63 68 2d 65 76 65 |to `disp|atch-eve|
|000010b0| 6e 74 27 20 74 6f 20 68 | 61 6e 64 6c 65 20 69 74 |nt' to h|andle it|
|000010c0| 2e 5c 6e 5c 6e 20 49 66 | 20 45 56 45 4e 54 20 69 |.\n\n If| EVENT i|
|000010d0| 73 20 6e 6f 6e 2d 6e 69 | 6c 2c 20 69 74 20 73 68 |s non-ni|l, it sh|
|000010e0| 6f 75 6c 64 20 62 65 20 | 61 6e 20 65 76 65 6e 74 |ould be |an event|
|000010f0| 20 6f 62 6a 65 63 74 20 | 61 6e 64 20 77 69 6c 6c | object |and will|
|00001100| 20 62 65 20 66 69 6c 6c | 65 64 20 69 6e 5c 6e 20 | be fill|ed in\n |
|00001110| 61 6e 64 20 72 65 74 75 | 72 6e 65 64 3b 20 6f 74 |and retu|rned; ot|
|00001120| 68 65 72 77 69 73 65 20 | 61 20 6e 65 77 20 65 76 |herwise |a new ev|
|00001130| 65 6e 74 20 6f 62 6a 65 | 63 74 20 77 69 6c 6c 20 |ent obje|ct will |
|00001140| 62 65 20 63 72 65 61 74 | 65 64 20 61 6e 64 20 72 |be creat|ed and r|
|00001150| 65 74 75 72 6e 65 64 2e | 5c 6e 20 49 66 20 50 52 |eturned.|\n If PR|
|00001160| 4f 4d 50 54 20 69 73 20 | 6e 6f 6e 2d 6e 69 6c 2c |OMPT is |non-nil,|
|00001170| 20 69 74 20 73 68 6f 75 | 6c 64 20 62 65 20 61 20 | it shou|ld be a |
|00001180| 73 74 72 69 6e 67 20 61 | 6e 64 20 77 69 6c 6c 20 |string a|nd will |
|00001190| 62 65 20 64 69 73 70 6c | 61 79 65 64 20 69 6e 20 |be displ|ayed in |
|000011a0| 74 68 65 5c 6e 20 65 63 | 68 6f 20 61 72 65 61 20 |the\n ec|ho area |
|000011b0| 77 68 69 6c 65 20 74 68 | 69 73 20 66 75 6e 63 74 |while th|is funct|
|000011c0| 69 6f 6e 20 69 73 20 77 | 61 69 74 69 6e 67 20 66 |ion is w|aiting f|
|000011d0| 6f 72 20 61 6e 20 65 76 | 65 6e 74 2e 5c 6e 5c 6e |or an ev|ent.\n\n|
|000011e0| 20 54 68 65 20 65 76 65 | 6e 74 20 72 65 74 75 72 | The eve|nt retur|
|000011f0| 6e 65 64 20 77 69 6c 6c | 20 62 65 20 61 20 6b 65 |ned will| be a ke|
|00001200| 79 62 6f 61 72 64 2c 20 | 6d 6f 75 73 65 20 70 72 |yboard, |mouse pr|
|00001210| 65 73 73 2c 20 6f 72 20 | 6d 6f 75 73 65 20 72 65 |ess, or |mouse re|
|00001220| 6c 65 61 73 65 20 65 76 | 65 6e 74 2e 5c 6e 20 49 |lease ev|ent.\n I|
|00001230| 66 20 74 68 65 72 65 20 | 61 72 65 20 6e 6f 6e 2d |f there |are non-|
|00001240| 63 6f 6d 6d 61 6e 64 20 | 65 76 65 6e 74 73 20 61 |command |events a|
|00001250| 76 61 69 6c 61 62 6c 65 | 20 28 6d 6f 75 73 65 20 |vailable| (mouse |
|00001260| 6d 6f 74 69 6f 6e 2c 20 | 73 75 62 2d 70 72 6f 63 |motion, |sub-proc|
|00001270| 65 73 73 20 6f 75 74 70 | 75 74 2c 5c 6e 20 65 74 |ess outp|ut,\n et|
|00001280| 63 29 20 74 68 65 6e 20 | 74 68 65 73 65 20 77 69 |c) then |these wi|
|00001290| 6c 6c 20 62 65 20 65 78 | 65 63 75 74 65 64 20 28 |ll be ex|ecuted (|
|000012a0| 77 69 74 68 20 60 64 69 | 73 70 61 74 63 68 2d 65 |with `di|spatch-e|
|000012b0| 76 65 6e 74 27 29 20 61 | 6e 64 20 64 69 73 63 61 |vent') a|nd disca|
|000012c0| 72 64 65 64 2e 20 20 54 | 68 69 73 5c 6e 20 66 75 |rded. T|his\n fu|
|000012d0| 6e 63 74 69 6f 6e 20 69 | 73 20 70 72 6f 76 69 64 |nction i|s provid|
|000012e0| 65 64 20 61 73 20 61 20 | 63 6f 6e 76 65 6e 69 65 |ed as a |convenie|
|000012f0| 6e 63 65 3b 20 69 74 20 | 69 73 20 65 71 75 69 76 |nce; it |is equiv|
|00001300| 61 6c 65 6e 74 20 74 6f | 20 74 68 65 20 6c 69 73 |alent to| the lis|
|00001310| 70 20 63 6f 64 65 5c 6e | 5c 6e 09 20 28 77 68 69 |p code\n|\n. (whi|
|00001320| 6c 65 20 28 70 72 6f 67 | 6e 5c 6e 09 09 20 20 28 |le (prog|n\n.. (|
|00001330| 6e 65 78 74 2d 65 76 65 | 6e 74 20 65 76 65 6e 74 |next-eve|nt event|
|00001340| 20 70 72 6f 6d 70 74 29 | 5c 6e 09 09 20 20 28 6e | prompt)|\n.. (n|
|00001350| 6f 74 20 28 6f 72 20 28 | 6b 65 79 2d 70 72 65 73 |ot (or (|key-pres|
|00001360| 73 2d 65 76 65 6e 74 2d | 70 20 65 76 65 6e 74 29 |s-event-|p event)|
|00001370| 5c 6e 09 09 09 20 20 20 | 28 62 75 74 74 6f 6e 2d |\n... |(button-|
|00001380| 70 72 65 73 73 2d 65 76 | 65 6e 74 2d 70 20 65 76 |press-ev|ent-p ev|
|00001390| 65 6e 74 29 5c 6e 09 09 | 09 20 20 20 28 62 75 74 |ent)\n..|. (but|
|000013a0| 74 6f 6e 2d 72 65 6c 65 | 61 73 65 2d 65 76 65 6e |ton-rele|ase-even|
|000013b0| 74 2d 70 20 65 76 65 6e | 74 29 5c 6e 09 09 09 20 |t-p even|t)\n... |
|000013c0| 20 20 28 6d 69 73 63 2d | 75 73 65 72 2d 65 76 65 | (misc-|user-eve|
|000013d0| 6e 74 2d 70 20 65 76 65 | 6e 74 29 29 29 29 5c 6e |nt-p eve|nt))))\n|
|000013e0| 09 20 20 20 20 28 64 69 | 73 70 61 74 63 68 2d 65 |. (di|spatch-e|
|000013f0| 76 65 6e 74 20 65 76 65 | 6e 74 29 29 22 5d 20 62 |vent eve|nt))"] b|
|00001400| 75 74 74 6f 6e 2d 65 76 | 65 6e 74 2d 70 20 23 5b |utton-ev|ent-p #[|
|00001410| 28 6f 62 6a 29 20 22 c0 | 09 21 ad d2 c2 09 21 c3 |(obj) ".|.!....!.|
|00001420| 61 ae cb c2 09 21 c4 61 | ae c4 c2 09 21 c5 61 ae |a....!.a|....!.a.|
|00001430| bd c2 09 21 c6 61 ae b6 | c2 09 21 c7 61 ae af c2 |...!.a..|..!.a...|
|00001440| 09 21 c8 61 ae a8 c2 09 | 21 c9 61 ae a1 c2 09 21 |.!.a....|!.a....!|
|00001450| ca 61 ae 9a c2 09 21 cb | 61 ae 93 c2 09 21 cc 61 |.a....!.|a....!.a|
|00001460| ae 8c c2 09 21 cd 61 ae | 85 c2 09 21 ce 61 87 22 |....!.a.|...!.a."|
|00001470| 20 5b 65 76 65 6e 74 70 | 20 6f 62 6a 20 65 76 65 | [eventp| obj eve|
|00001480| 6e 74 2d 62 61 73 69 63 | 2d 74 79 70 65 20 6d 6f |nt-basic|-type mo|
|00001490| 75 73 65 2d 31 20 6d 6f | 75 73 65 2d 32 20 6d 6f |use-1 mo|use-2 mo|
|000014a0| 75 73 65 2d 33 20 64 6f | 77 6e 2d 6d 6f 75 73 65 |use-3 do|wn-mouse|
|000014b0| 2d 31 20 64 6f 77 6e 2d | 6d 6f 75 73 65 2d 32 20 |-1 down-|mouse-2 |
|000014c0| 64 6f 77 6e 2d 6d 6f 75 | 73 65 2d 33 20 75 70 2d |down-mou|se-3 up-|
|000014d0| 6d 6f 75 73 65 2d 31 20 | 75 70 2d 6d 6f 75 73 65 |mouse-1 |up-mouse|
|000014e0| 2d 32 20 75 70 2d 6d 6f | 75 73 65 2d 33 20 64 72 |-2 up-mo|use-3 dr|
|000014f0| 61 67 2d 6d 6f 75 73 65 | 2d 31 20 64 72 61 67 2d |ag-mouse|-1 drag-|
|00001500| 6d 6f 75 73 65 2d 32 20 | 64 72 61 67 2d 6d 6f 75 |mouse-2 |drag-mou|
|00001510| 73 65 2d 33 5d 20 32 20 | 22 54 72 75 65 20 69 66 |se-3] 2 |"True if|
|00001520| 20 4f 42 4a 20 69 73 20 | 61 20 62 75 74 74 6f 6e | OBJ is |a button|
|00001530| 2d 70 72 65 73 73 20 6f | 72 20 62 75 74 74 6f 6e |-press o|r button|
|00001540| 2d 72 65 6c 65 61 73 65 | 20 65 76 65 6e 74 20 6f |-release| event o|
|00001550| 62 6a 65 63 74 2e 22 5d | 20 62 75 74 74 6f 6e 2d |bject."]| button-|
|00001560| 64 72 61 67 2d 65 76 65 | 6e 74 2d 70 20 23 5b 28 |drag-eve|nt-p #[(|
|00001570| 6f 62 6a 29 20 22 c0 09 | 21 ad 85 c2 c3 09 21 b6 |obj) "..|!.....!.|
|00001580| 87 22 20 5b 62 75 74 74 | 6f 6e 2d 65 76 65 6e 74 |." [butt|on-event|
|00001590| 2d 70 20 6f 62 6a 20 64 | 72 61 67 20 65 76 65 6e |-p obj d|rag even|
|000015a0| 74 2d 6d 6f 64 69 66 69 | 65 72 73 5d 20 33 20 22 |t-modifi|ers] 3 "|
|000015b0| 54 72 75 65 20 69 66 20 | 4f 42 4a 20 69 73 20 61 |True if |OBJ is a|
|000015c0| 20 6d 6f 75 73 65 2d 62 | 75 74 74 6f 6e 2d 64 72 | mouse-b|utton-dr|
|000015d0| 61 67 20 65 76 65 6e 74 | 20 6f 62 6a 65 63 74 2e |ag event| object.|
|000015e0| 22 5d 20 62 75 74 74 6f | 6e 2d 70 72 65 73 73 2d |"] butto|n-press-|
|000015f0| 65 76 65 6e 74 2d 70 20 | 23 5b 28 6f 62 6a 29 20 |event-p |#[(obj) |
|00001600| 22 c0 09 21 ad 85 c2 c3 | 09 21 b6 87 22 20 5b 62 |"..!....|.!.." [b|
|00001610| 75 74 74 6f 6e 2d 65 76 | 65 6e 74 2d 70 20 6f 62 |utton-ev|ent-p ob|
|00001620| 6a 20 64 6f 77 6e 20 65 | 76 65 6e 74 2d 6d 6f 64 |j down e|vent-mod|
|00001630| 69 66 69 65 72 73 5d 20 | 33 20 22 54 72 75 65 20 |ifiers] |3 "True |
|00001640| 69 66 20 4f 42 4a 20 69 | 73 20 61 20 6d 6f 75 73 |if OBJ i|s a mous|
|00001650| 65 2d 62 75 74 74 6f 6e | 2d 70 72 65 73 73 20 65 |e-button|-press e|
|00001660| 76 65 6e 74 20 6f 62 6a | 65 63 74 2e 22 5d 20 62 |vent obj|ect."] b|
|00001670| 75 74 74 6f 6e 2d 72 65 | 6c 65 61 73 65 2d 65 76 |utton-re|lease-ev|
|00001680| 65 6e 74 2d 70 20 23 5b | 28 6f 62 6a 29 20 22 c0 |ent-p #[|(obj) ".|
|00001690| 09 21 ad 84 c2 09 21 3f | 87 22 20 5b 62 75 74 74 |.!....!?|." [butt|
|000016a0| 6f 6e 2d 65 76 65 6e 74 | 2d 70 20 6f 62 6a 20 62 |on-event|-p obj b|
|000016b0| 75 74 74 6f 6e 2d 70 72 | 65 73 73 2d 65 76 65 6e |utton-pr|ess-even|
|000016c0| 74 2d 70 5d 20 32 20 22 | 54 72 75 65 20 69 66 20 |t-p] 2 "|True if |
|000016d0| 4f 42 4a 20 69 73 20 61 | 20 6d 6f 75 73 65 2d 62 |OBJ is a| mouse-b|
|000016e0| 75 74 74 6f 6e 2d 72 65 | 6c 65 61 73 65 20 65 76 |utton-re|lease ev|
|000016f0| 65 6e 74 20 6f 62 6a 65 | 63 74 2e 22 5d 20 62 75 |ent obje|ct."] bu|
|00001700| 74 74 6f 6e 2d 63 6c 69 | 63 6b 2d 65 76 65 6e 74 |tton-cli|ck-event|
|00001710| 2d 70 20 23 5b 28 6f 62 | 6a 29 20 22 c0 09 21 ad |-p #[(ob|j) "..!.|
|00001720| 85 c2 c3 09 21 b6 87 22 | 20 5b 62 75 74 74 6f 6e |....!.."| [button|
|00001730| 2d 65 76 65 6e 74 2d 70 | 20 6f 62 6a 20 63 6c 69 |-event-p| obj cli|
|00001740| 63 6b 20 65 76 65 6e 74 | 2d 6d 6f 64 69 66 69 65 |ck event|-modifie|
|00001750| 72 73 5d 20 33 20 22 54 | 72 75 65 20 69 66 20 4f |rs] 3 "T|rue if O|
|00001760| 42 4a 20 69 73 20 61 20 | 63 6c 69 63 6b 20 65 76 |BJ is a |click ev|
|00001770| 65 6e 74 20 6f 62 6b 65 | 63 74 2e 22 5d 20 6d 6f |ent obke|ct."] mo|
|00001780| 75 73 65 2d 65 76 65 6e | 74 2d 70 20 23 5b 28 6f |use-even|t-p #[(o|
|00001790| 62 6a 29 20 22 c0 09 21 | ae 85 c2 c3 09 21 b6 87 |bj) "..!|.....!..|
|000017a0| 22 20 5b 62 75 74 74 6f | 6e 2d 65 76 65 6e 74 2d |" [butto|n-event-|
|000017b0| 70 20 6f 62 6a 20 64 72 | 61 67 20 65 76 65 6e 74 |p obj dr|ag event|
|000017c0| 2d 6d 6f 64 69 66 69 65 | 72 73 5d 20 33 20 22 54 |-modifie|rs] 3 "T|
|000017d0| 72 75 65 20 69 66 20 4f | 42 4a 20 69 73 20 61 20 |rue if O|BJ is a |
|000017e0| 62 75 74 74 6f 6e 2d 70 | 72 65 73 73 2c 20 62 75 |button-p|ress, bu|
|000017f0| 74 74 6f 6e 2d 72 65 6c | 65 61 73 65 2c 20 6f 72 |tton-rel|ease, or|
|00001800| 20 6d 6f 75 73 65 2d 6d | 6f 74 69 6f 6e 20 65 76 | mouse-m|otion ev|
|00001810| 65 6e 74 20 6f 62 6a 65 | 63 74 2e 22 5d 20 65 76 |ent obje|ct."] ev|
|00001820| 65 6e 74 2d 77 69 6e 64 | 6f 77 20 23 5b 28 65 76 |ent-wind|ow #[(ev|
|00001830| 65 6e 74 29 20 22 c0 09 | 21 ab a0 09 3c ad bc 09 |ent) "..|!...<...|
|00001840| 41 41 40 ad b6 09 41 41 | 40 3c ad af c2 09 41 41 |AA@...AA|@<....AA|
|00001850| 40 40 21 ad a6 09 41 41 | 40 40 87 c3 09 21 ad 9b |@@!...AA|@@...!..|
|00001860| 09 3c ad 97 09 41 40 ad | 92 09 41 40 3c ad 8c c2 |.<...A@.|..A@<...|
|00001870| 09 41 40 40 21 ad 84 09 | 41 40 40 87 22 20 5b 62 |.A@@!...|A@@." [b|
|00001880| 75 74 74 6f 6e 2d 64 72 | 61 67 2d 65 76 65 6e 74 |utton-dr|ag-event|
|00001890| 2d 70 20 65 76 65 6e 74 | 20 77 69 6e 64 6f 77 70 |-p event| windowp|
|000018a0| 20 65 76 65 6e 74 70 5d | 20 32 20 22 52 65 74 75 | eventp]| 2 "Retu|
|000018b0| 72 6e 20 74 68 65 20 77 | 69 6e 64 6f 77 20 6f 66 |rn the w|indow of|
|000018c0| 20 74 68 65 20 67 69 76 | 65 6e 20 6d 6f 75 73 65 | the giv|en mouse|
|000018d0| 20 45 56 45 4e 54 2e 5c | 6e 54 68 69 73 20 6d 61 | EVENT.\|nThis ma|
|000018e0| 79 20 62 65 20 6e 69 6c | 20 69 66 20 74 68 65 20 |y be nil| if the |
|000018f0| 65 76 65 6e 74 20 6f 63 | 63 75 72 72 65 64 20 69 |event oc|curred i|
|00001900| 6e 20 74 68 65 20 62 6f | 72 64 65 72 20 6f 72 20 |n the bo|rder or |
|00001910| 6f 76 65 72 20 61 20 74 | 6f 6f 6c 62 61 72 2e 5c |over a t|oolbar.\|
|00001920| 6e 54 68 65 20 6d 6f 64 | 65 6c 69 6e 65 20 69 73 |nThe mod|eline is|
|00001930| 20 63 6f 6e 73 69 64 65 | 72 65 64 20 74 6f 20 62 | conside|red to b|
|00001940| 65 20 69 6e 20 74 68 65 | 20 77 69 6e 64 6f 77 20 |e in the| window |
|00001950| 69 74 20 72 65 70 72 65 | 73 65 6e 74 73 2e 5c 6e |it repre|sents.\n|
|00001960| 5c 6e 49 66 20 74 68 65 | 20 45 56 45 4e 54 20 69 |\nIf the| EVENT i|
|00001970| 73 20 61 20 6d 6f 75 73 | 65 20 64 72 61 67 20 65 |s a mous|e drag e|
|00001980| 76 65 6e 74 2c 20 74 68 | 65 6e 20 74 68 65 20 65 |vent, th|en the e|
|00001990| 6e 64 20 65 76 65 6e 74 | 20 77 69 6e 64 6f 77 20 |nd event| window |
|000019a0| 69 73 20 72 65 74 75 72 | 6e 65 64 2e 22 5d 20 65 |is retur|ned."] e|
|000019b0| 76 65 6e 74 2d 62 75 66 | 66 65 72 20 23 5b 28 65 |vent-buf|fer #[(e|
|000019c0| 76 65 6e 74 29 20 22 c0 | 09 21 ad 85 c2 c3 09 21 |vent) ".|.!.....!|
|000019d0| 21 87 22 20 5b 62 75 74 | 74 6f 6e 2d 65 76 65 6e |!." [but|ton-even|
|000019e0| 74 2d 70 20 65 76 65 6e | 74 20 77 69 6e 64 6f 77 |t-p even|t window|
|000019f0| 2d 62 75 66 66 65 72 20 | 65 76 65 6e 74 2d 77 69 |-buffer |event-wi|
|00001a00| 6e 64 6f 77 5d 20 33 20 | 22 47 69 76 65 6e 20 61 |ndow] 3 |"Given a|
|00001a10| 20 6d 6f 75 73 65 2d 6d | 6f 74 69 6f 6e 2c 20 62 | mouse-m|otion, b|
|00001a20| 75 74 74 6f 6e 2d 70 72 | 65 73 73 2c 20 6f 72 20 |utton-pr|ess, or |
|00001a30| 62 75 74 74 6f 6e 2d 72 | 65 6c 65 61 73 65 20 65 |button-r|elease e|
|00001a40| 76 65 6e 74 2c 5c 6e 72 | 65 74 75 72 6e 20 74 68 |vent,\nr|eturn th|
|00001a50| 65 20 62 75 66 66 65 72 | 20 6f 6e 20 77 68 69 63 |e buffer| on whic|
|00001a60| 68 20 74 68 61 74 20 65 | 76 65 6e 74 20 6f 63 63 |h that e|vent occ|
|00001a70| 75 72 72 65 64 2e 20 20 | 54 68 69 73 20 77 69 6c |urred. |This wil|
|00001a80| 6c 20 62 65 20 6e 69 6c | 20 66 6f 72 20 5c 6e 6e |l be nil| for \nn|
|00001a90| 6f 6e 2d 6d 6f 75 73 65 | 20 65 76 65 6e 74 73 2e |on-mouse| events.|
|00001aa0| 20 20 49 66 20 65 76 65 | 6e 74 2d 6f 76 65 72 2d | If eve|nt-over-|
|00001ab0| 74 65 78 74 2d 61 72 65 | 61 2d 70 20 69 73 20 6e |text-are|a-p is n|
|00001ac0| 69 6c 2c 20 74 68 69 73 | 20 77 69 6c 6c 20 61 6c |il, this| will al|
|00001ad0| 73 6f 20 62 65 20 6e 69 | 6c 2e 22 5d 20 65 76 65 |so be ni|l."] eve|
|00001ae0| 6e 74 2d 63 6c 6f 73 65 | 73 74 2d 70 6f 69 6e 74 |nt-close|st-point|
|00001af0| 20 23 5b 28 65 76 65 6e | 74 29 20 22 c0 09 21 ab | #[(even|t) "..!.|
|00001b00| 86 c2 c3 09 21 21 87 c2 | c4 09 21 21 87 22 20 5b |....!!..|..!!." [|
|00001b10| 62 75 74 74 6f 6e 2d 64 | 72 61 67 2d 65 76 65 6e |button-d|rag-even|
|00001b20| 74 2d 70 20 65 76 65 6e | 74 20 70 6f 73 6e 2d 70 |t-p even|t posn-p|
|00001b30| 6f 69 6e 74 20 65 76 65 | 6e 74 2d 65 6e 64 20 65 |oint eve|nt-end e|
|00001b40| 76 65 6e 74 2d 73 74 61 | 72 74 5d 20 33 20 22 52 |vent-sta|rt] 3 "R|
|00001b50| 65 74 75 72 6e 20 74 68 | 65 20 63 68 61 72 61 63 |eturn th|e charac|
|00001b60| 74 65 72 20 70 6f 73 69 | 74 69 6f 6e 20 6f 66 20 |ter posi|tion of |
|00001b70| 74 68 65 20 67 69 76 65 | 6e 20 6d 6f 75 73 65 20 |the give|n mouse |
|00001b80| 45 56 45 4e 54 2e 5c 6e | 49 66 20 74 68 65 20 45 |EVENT.\n|If the E|
|00001b90| 56 45 4e 54 20 64 69 64 | 20 6e 6f 74 20 6f 63 63 |VENT did| not occ|
|00001ba0| 75 72 20 6f 76 65 72 20 | 61 20 77 69 6e 64 6f 77 |ur over |a window|
|00001bb0| 20 6f 72 20 6f 76 65 72 | 20 74 65 78 74 2c 20 72 | or over| text, r|
|00001bc0| 65 74 75 72 6e 20 74 68 | 65 5c 6e 63 6c 6f 73 65 |eturn th|e\nclose|
|00001bd0| 73 74 20 70 6f 69 6e 74 | 20 74 6f 20 74 68 65 20 |st point| to the |
|00001be0| 6c 6f 63 61 74 69 6f 6e | 20 6f 66 20 74 68 65 20 |location| of the |
|00001bf0| 45 56 45 4e 54 2e 20 20 | 49 66 20 74 68 65 20 59 |EVENT. |If the Y|
|00001c00| 20 70 69 78 65 6c 20 70 | 6f 73 69 74 69 6f 6e 5c | pixel p|osition\|
|00001c10| 6e 6f 76 65 72 6c 61 70 | 73 20 61 20 77 69 6e 64 |noverlap|s a wind|
|00001c20| 6f 77 20 61 6e 64 20 74 | 68 65 20 58 20 70 69 78 |ow and t|he X pix|
|00001c30| 65 6c 20 70 6f 73 69 74 | 69 6f 6e 20 69 73 20 74 |el posit|ion is t|
|00001c40| 6f 20 74 68 65 20 6c 65 | 66 74 20 6f 66 20 74 68 |o the le|ft of th|
|00001c50| 61 74 5c 6e 77 69 6e 64 | 6f 77 2c 20 74 68 65 20 |at\nwind|ow, the |
|00001c60| 63 6c 6f 73 65 73 74 20 | 70 6f 69 6e 74 20 69 73 |closest |point is|
|00001c70| 20 74 68 65 20 62 65 67 | 69 6e 6e 69 6e 67 20 6f | the beg|inning o|
|00001c80| 66 20 74 68 65 20 6c 69 | 6e 65 20 63 6f 6e 74 61 |f the li|ne conta|
|00001c90| 69 6e 69 6e 67 20 74 68 | 65 5c 6e 59 20 70 6f 73 |ining th|e\nY pos|
|00001ca0| 69 74 69 6f 6e 2e 20 20 | 49 66 20 74 68 65 20 59 |ition. |If the Y|
|00001cb0| 20 70 69 78 65 6c 20 70 | 6f 73 69 74 69 6f 6e 20 | pixel p|osition |
|00001cc0| 6f 76 65 72 6c 61 70 73 | 20 61 20 77 69 6e 64 6f |overlaps| a windo|
|00001cd0| 77 20 61 6e 64 20 74 68 | 65 20 58 20 70 69 78 65 |w and th|e X pixe|
|00001ce0| 6c 5c 6e 70 6f 73 69 74 | 69 6f 6e 20 69 73 20 74 |l\nposit|ion is t|
|00001cf0| 6f 20 74 68 65 20 72 69 | 67 68 74 20 6f 66 20 74 |o the ri|ght of t|
|00001d00| 68 61 74 20 77 69 6e 64 | 6f 77 2c 20 74 68 65 20 |hat wind|ow, the |
|00001d10| 63 6c 6f 73 65 73 74 20 | 70 6f 69 6e 74 20 69 73 |closest |point is|
|00001d20| 20 74 68 65 20 65 6e 64 | 5c 6e 6f 66 20 74 68 65 | the end|\nof the|
|00001d30| 20 6c 69 6e 65 20 63 6f | 6e 74 61 69 6e 69 6e 67 | line co|ntaining|
|00001d40| 20 74 68 65 20 59 20 70 | 6f 73 69 74 69 6f 6e 2e | the Y p|osition.|
|00001d50| 20 20 49 66 20 74 68 65 | 20 59 20 70 69 78 65 6c | If the| Y pixel|
|00001d60| 20 70 6f 73 69 74 69 6f | 6e 20 69 73 5c 6e 61 62 | positio|n is\nab|
|00001d70| 6f 76 65 20 61 20 77 69 | 6e 64 6f 77 2c 20 72 65 |ove a wi|ndow, re|
|00001d80| 74 75 72 6e 20 30 2e 20 | 20 49 66 20 69 74 20 69 |turn 0. | If it i|
|00001d90| 73 20 62 65 6c 6f 77 20 | 61 20 77 69 6e 64 6f 77 |s below |a window|
|00001da0| 2c 20 72 65 74 75 72 6e | 20 74 68 65 20 76 61 6c |, return| the val|
|00001db0| 75 65 5c 6e 6f 66 20 28 | 77 69 6e 64 6f 77 2d 65 |ue\nof (|window-e|
|00001dc0| 6e 64 29 2e 5c 6e 5c 6e | 49 66 20 74 68 65 20 45 |nd).\n\n|If the E|
|00001dd0| 56 45 4e 54 20 69 73 20 | 61 20 64 72 61 67 20 65 |VENT is |a drag e|
|00001de0| 76 65 6e 74 2c 20 74 68 | 65 20 65 76 65 6e 74 2d |vent, th|e event-|
|00001df0| 65 6e 64 20 77 69 6c 6c | 20 62 65 20 75 73 65 64 |end will| be used|
|00001e00| 2e 22 5d 20 61 64 64 2d | 6d 69 6e 6f 72 2d 6d 6f |."] add-|minor-mo|
|00001e10| 64 65 20 23 5b 28 74 6f | 67 67 6c 65 20 6e 61 6d |de #[(to|ggle nam|
|00001e20| 65 20 26 6f 70 74 69 6f | 6e 61 6c 20 6b 65 79 6d |e &optio|nal keym|
|00001e30| 61 70 20 61 66 74 65 72 | 20 74 6f 67 67 6c 65 2d |ap after| toggle-|
|00001e40| 66 75 6e 29 20 22 08 ab | 87 c1 5c 6e 0b 0c 08 24 |fun) "..|..\n...$|
|00001e50| 87 5c 6e 0d b7 ac 86 5c | 6e 0b 44 0d 42 15 5c 6e |.\n....\|n.D.B.\n|
|00001e60| 0e 06 b7 3f ad 89 5c 6e | 0c 42 0e 06 42 89 16 06 |...?..\n|.B..B...|
|00001e70| 87 22 20 5b 61 66 74 65 | 72 20 61 64 64 2d 6d 69 |." [afte|r add-mi|
|00001e80| 6e 6f 72 2d 6d 6f 64 65 | 2d 31 20 74 6f 67 67 6c |nor-mode|-1 toggl|
|00001e90| 65 20 6e 61 6d 65 20 6b | 65 79 6d 61 70 20 6d 69 |e name k|eymap mi|
|00001ea0| 6e 6f 72 2d 6d 6f 64 65 | 2d 61 6c 69 73 74 20 6d |nor-mode|-alist m|
|00001eb0| 69 6e 6f 72 2d 6d 6f 64 | 65 2d 6d 61 70 2d 61 6c |inor-mod|e-map-al|
|00001ec0| 69 73 74 5d 20 35 20 22 | 41 64 64 20 61 20 6d 69 |ist] 5 "|Add a mi|
|00001ed0| 6e 6f 72 20 6d 6f 64 65 | 20 74 6f 20 60 6d 69 6e |nor mode| to `min|
|00001ee0| 6f 72 2d 6d 6f 64 65 2d | 61 6c 69 73 74 27 20 61 |or-mode-|alist' a|
|00001ef0| 6e 64 20 60 6d 69 6e 6f | 72 2d 6d 6f 64 65 2d 6d |nd `mino|r-mode-m|
|00001f00| 61 70 2d 61 6c 69 73 74 | 27 2e 5c 6e 54 4f 47 47 |ap-alist|'.\nTOGG|
|00001f10| 4c 45 20 69 73 20 61 20 | 73 79 6d 62 6f 6c 20 77 |LE is a |symbol w|
|00001f20| 68 6f 73 65 20 76 61 6c | 75 65 20 61 73 20 61 20 |hose val|ue as a |
|00001f30| 76 61 72 69 61 62 6c 65 | 20 73 70 65 63 69 66 69 |variable| specifi|
|00001f40| 65 73 20 77 68 65 74 68 | 65 72 20 74 68 65 5c 6e |es wheth|er the\n|
|00001f50| 6d 69 6e 6f 72 20 6d 6f | 64 65 20 69 73 20 61 63 |minor mo|de is ac|
|00001f60| 74 69 76 65 2e 20 20 4e | 41 4d 45 20 69 73 20 74 |tive. N|AME is t|
|00001f70| 68 65 20 6e 61 6d 65 20 | 74 68 61 74 20 73 68 6f |he name |that sho|
|00001f80| 75 6c 64 20 61 70 70 65 | 61 72 20 69 6e 20 74 68 |uld appe|ar in th|
|00001f90| 65 5c 6e 6d 6f 64 65 6c | 69 6e 65 20 28 69 74 20 |e\nmodel|ine (it |
|00001fa0| 73 68 6f 75 6c 64 20 62 | 65 20 61 20 73 74 72 69 |should b|e a stri|
|00001fb0| 6e 67 20 62 65 67 69 6e | 6e 69 6e 67 20 77 69 74 |ng begin|ning wit|
|00001fc0| 68 20 61 20 73 70 61 63 | 65 29 2e 20 20 4b 45 59 |h a spac|e). KEY|
|00001fd0| 4d 41 50 20 69 73 20 61 | 5c 6e 6b 65 79 6d 61 70 |MAP is a|\nkeymap|
|00001fe0| 20 74 6f 20 6d 61 6b 65 | 20 61 63 74 69 76 65 20 | to make| active |
|00001ff0| 77 68 65 6e 20 74 68 65 | 20 6d 69 6e 6f 72 20 6d |when the| minor m|
|00002000| 6f 64 65 20 69 73 20 61 | 63 74 69 76 65 2e 20 20 |ode is a|ctive. |
|00002010| 41 46 54 45 52 20 69 73 | 20 74 68 65 5c 6e 74 6f |AFTER is| the\nto|
|00002020| 67 67 6c 69 6e 67 20 73 | 79 6d 62 6f 6c 20 75 73 |ggling s|ymbol us|
|00002030| 65 64 20 66 6f 72 20 61 | 6e 6f 74 68 65 72 20 6d |ed for a|nother m|
|00002040| 69 6e 6f 72 20 6d 6f 64 | 65 2e 20 20 49 66 20 41 |inor mod|e. If A|
|00002050| 46 54 45 52 20 69 73 20 | 6e 6f 6e 2d 6e 69 6c 2c |FTER is |non-nil,|
|00002060| 5c 6e 74 68 65 6e 20 69 | 74 20 69 73 20 75 73 65 |\nthen i|t is use|
|00002070| 64 20 74 6f 20 70 6f 73 | 69 74 69 6f 6e 20 74 68 |d to pos|ition th|
|00002080| 65 20 6e 65 77 20 6d 6f | 64 65 20 69 6e 20 74 68 |e new mo|de in th|
|00002090| 65 20 6d 69 6e 6f 72 2d | 6d 6f 64 65 20 61 6c 69 |e minor-|mode ali|
|000020a0| 73 74 73 2e 5c 6e 5c 6e | 54 4f 47 47 4c 45 2d 46 |sts.\n\n|TOGGLE-F|
|000020b0| 55 4e 20 69 73 20 6f 6e | 6c 79 20 61 20 64 75 6d |UN is on|ly a dum|
|000020c0| 6d 79 20 76 61 72 69 61 | 62 6c 65 20 69 6e 20 74 |my varia|ble in t|
|000020d0| 68 65 20 45 6d 61 63 73 | 20 31 39 2e 20 49 6e 20 |he Emacs| 19. In |
|000020e0| 74 68 65 20 58 45 6d 61 | 63 73 5c 6e 69 74 20 68 |the XEma|cs\nit h|
|000020f0| 61 73 20 74 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |as the f|ollowing|
|00002100| 20 64 65 73 63 72 69 70 | 74 69 6f 6e 3a 5c 6e 54 | descrip|tion:\nT|
|00002110| 4f 47 47 4c 45 2d 46 55 | 4e 20 73 70 65 63 69 66 |OGGLE-FU|N specif|
|00002120| 69 65 73 20 61 6e 20 69 | 6e 74 65 72 61 63 74 69 |ies an i|nteracti|
|00002130| 76 65 20 66 75 6e 63 74 | 69 6f 6e 20 74 68 61 74 |ve funct|ion that|
|00002140| 20 69 73 20 63 61 6c 6c | 65 64 20 74 6f 20 74 6f | is call|ed to to|
|00002150| 67 67 6c 65 5c 6e 74 68 | 65 20 6d 6f 64 65 20 6f |ggle\nth|e mode o|
|00002160| 6e 20 61 6e 64 20 6f 66 | 66 3b 20 74 68 69 73 20 |n and of|f; this |
|00002170| 61 66 66 65 63 74 73 20 | 77 68 61 74 20 68 61 70 |affects |what hap|
|00002180| 70 65 6e 73 20 77 68 65 | 6e 20 62 75 74 74 6f 6e |pens whe|n button|
|00002190| 32 20 69 73 20 70 72 65 | 73 73 65 64 5c 6e 6f 6e |2 is pre|ssed\non|
|000021a0| 20 74 68 65 20 6d 6f 64 | 65 2c 20 61 6e 64 20 77 | the mod|e, and w|
|000021b0| 68 65 6e 20 62 75 74 74 | 6f 6e 33 20 69 73 20 70 |hen butt|on3 is p|
|000021c0| 72 65 73 73 65 64 20 73 | 6f 6d 65 77 68 65 72 65 |ressed s|omewhere|
|000021d0| 20 69 6e 20 74 68 65 20 | 6c 69 73 74 20 6f 66 5c | in the |list of\|
|000021e0| 6e 6d 6f 64 65 73 2e 20 | 20 49 66 20 54 4f 47 47 |nmodes. | If TOGG|
|000021f0| 4c 45 2d 46 55 4e 20 69 | 73 20 6e 69 6c 20 61 6e |LE-FUN i|s nil an|
|00002200| 64 20 54 4f 47 47 4c 45 | 20 6e 61 6d 65 73 20 61 |d TOGGLE| names a|
|00002210| 6e 20 69 6e 74 65 72 61 | 63 74 69 76 65 20 66 75 |n intera|ctive fu|
|00002220| 6e 63 74 69 6f 6e 2c 5c | 6e 54 4f 47 47 4c 45 20 |nction,\|nTOGGLE |
|00002230| 69 73 20 75 73 65 64 20 | 61 73 20 74 68 65 20 74 |is used |as the t|
|00002240| 6f 67 67 6c 65 20 66 75 | 6e 63 74 69 6f 6e 2e 5c |oggle fu|nction.\|
|00002250| 6e 5c 6e 45 78 61 6d 70 | 6c 65 3a 20 20 28 61 64 |n\nExamp|le: (ad|
|00002260| 64 2d 6d 69 6e 6f 72 2d | 6d 6f 64 65 20 27 76 69 |d-minor-|mode 'vi|
|00002270| 65 77 2d 6d 69 6e 6f 72 | 2d 6d 6f 64 65 20 5c 22 |ew-minor|-mode \"|
|00002280| 20 56 69 65 77 5c 22 20 | 76 69 65 77 2d 6d 6f 64 | View\" |view-mod|
|00002290| 65 2d 6d 61 70 29 5c 6e | 5c 6e 57 41 52 4e 49 4e |e-map)\n|\nWARNIN|
|000022a0| 47 3a 20 54 48 49 53 20 | 46 55 4e 43 54 49 4f 4e |G: THIS |FUNCTION|
|000022b0| 20 49 53 4e 27 54 20 52 | 45 41 44 20 59 45 54 2e | ISN'T R|EAD YET.|
|000022c0| 22 5d 20 72 65 64 72 61 | 77 2d 6d 6f 64 65 6c 69 |"] redra|w-modeli|
|000022d0| 6e 65 20 64 65 66 61 6c | 69 61 73 20 66 6f 72 63 |ne defal|ias forc|
|000022e0| 65 2d 6d 6f 64 65 2d 6c | 69 6e 65 2d 75 70 64 61 |e-mode-l|ine-upda|
|000022f0| 74 65 20 6d 6f 75 73 65 | 2d 74 72 61 63 6b 20 6d |te mouse|-track m|
|00002300| 6f 75 73 65 2d 64 72 61 | 67 2d 72 65 67 69 6f 6e |ouse-dra|g-region|
|00002310| 20 77 69 6e 64 6f 77 73 | 2d 6f 66 2d 62 75 66 66 | windows|-of-buff|
|00002320| 65 72 20 23 5b 28 26 6f | 70 74 69 6f 6e 61 6c 20 |er #[(&o|ptional |
|00002330| 62 75 66 66 65 72 29 20 | 22 c0 09 21 87 22 20 5b |buffer) |"..!." [|
|00002340| 67 65 74 2d 62 75 66 66 | 65 72 2d 77 69 6e 64 6f |get-buff|er-windo|
|00002350| 77 2d 6c 69 73 74 20 62 | 75 66 66 65 72 5d 20 32 |w-list b|uffer] 2|
|00002360| 20 22 52 65 74 75 72 6e | 73 20 61 20 6c 69 73 74 | "Return|s a list|
|00002370| 20 6f 66 20 77 69 6e 64 | 6f 77 73 20 74 68 61 74 | of wind|ows that|
|00002380| 20 68 61 76 65 20 42 55 | 46 46 45 52 20 69 6e 20 | have BU|FFER in |
|00002390| 74 68 65 6d 2e 5c 6e 49 | 66 20 42 55 46 46 45 52 |them.\nI|f BUFFER|
|000023a0| 20 69 73 20 6e 6f 74 20 | 73 70 65 63 69 66 69 65 | is not |specifie|
|000023b0| 64 2c 20 74 68 65 20 63 | 75 72 72 65 6e 74 20 62 |d, the c|urrent b|
|000023c0| 75 66 66 65 72 20 77 69 | 6c 6c 20 62 65 20 75 73 |uffer wi|ll be us|
|000023d0| 65 64 2e 22 5d 20 68 65 | 6c 70 2d 73 65 6c 65 63 |ed."] he|lp-selec|
|000023e0| 74 73 2d 68 65 6c 70 2d | 77 69 6e 64 6f 77 20 74 |ts-help-|window t|
|000023f0| 20 22 2a 49 66 20 6e 69 | 6c 2c 20 75 73 65 20 74 | "*If ni|l, use t|
|00002400| 68 65 20 5c 22 6f 6c 64 | 20 45 6d 61 63 73 5c 22 |he \"old| Emacs\"|
|00002410| 20 62 65 68 61 76 69 6f | 72 20 66 6f 72 20 48 65 | behavio|r for He|
|00002420| 6c 70 20 62 75 66 66 65 | 72 73 2e 5c 6e 54 68 69 |lp buffe|rs.\nThi|
|00002430| 73 20 6a 75 73 74 20 64 | 69 73 70 6c 61 79 73 20 |s just d|isplays |
|00002440| 74 68 65 20 62 75 66 66 | 65 72 20 69 6e 20 61 6e |the buff|er in an|
|00002450| 6f 74 68 65 72 20 77 69 | 6e 64 6f 77 2c 20 72 61 |other wi|ndow, ra|
|00002460| 74 68 65 72 20 74 68 61 | 6e 20 73 65 6c 65 63 74 |ther tha|n select|
|00002470| 69 6e 67 5c 6e 74 68 65 | 20 77 69 6e 64 6f 77 2e |ing\nthe| window.|
|00002480| 22 20 77 69 74 68 2d 64 | 69 73 70 6c 61 79 69 6e |" with-d|isplayin|
|00002490| 67 2d 68 65 6c 70 2d 62 | 75 66 66 65 72 20 23 5b |g-help-b|uffer #[|
|000024a0| 28 74 68 75 6e 6b 29 20 | 22 c0 20 c1 20 c2 c3 21 |(thunk) |". . ..!|
|000024b0| ad 89 c4 20 c5 c6 c2 c3 | 21 5c 22 b6 3f 1e 07 1e |... ....|!\".?...|
|000024c0| 08 1e 09 c3 90 0e 5c 6e | 20 8a 0e 0b 71 88 cc 20 |......\n| ...q.. |
|000024d0| 88 29 91 cd c3 21 89 1e | 0e ab b2 8a cf 0e 0e 21 |.)...!..|.......!|
|000024e0| 71 88 29 0e 10 ab 85 d1 | 0e 0e 21 88 0e 0e d2 20 |q.).....|..!.... |
|000024f0| 61 ab 88 d3 d4 d5 21 21 | 88 aa 92 0e 08 ab 88 d3 |a.....!!|........|
|00002500| d4 d6 21 21 88 aa 86 d3 | d4 d6 21 21 88 2c 87 22 |..!!....|..!!.,."|
|00002510| 20 5b 63 75 72 72 65 6e | 74 2d 77 69 6e 64 6f 77 | [curren|t-window|
|00002520| 2d 63 6f 6e 66 69 67 75 | 72 61 74 69 6f 6e 20 6f |-configu|ration o|
|00002530| 6e 65 2d 77 69 6e 64 6f | 77 2d 70 20 77 69 6e 64 |ne-windo|w-p wind|
|00002540| 6f 77 73 2d 6f 66 2d 62 | 75 66 66 65 72 20 22 2a |ows-of-b|uffer "*|
|00002550| 48 65 6c 70 2a 22 20 73 | 65 6c 65 63 74 65 64 2d |Help*" s|elected-|
|00002560| 66 72 61 6d 65 20 6d 61 | 70 63 61 72 20 77 69 6e |frame ma|pcar win|
|00002570| 64 6f 77 2d 66 72 61 6d | 65 20 68 65 6c 70 2d 6e |dow-fram|e help-n|
|00002580| 6f 74 2d 76 69 73 69 62 | 6c 65 20 77 61 73 2d 6f |ot-visib|le was-o|
|00002590| 6e 65 2d 77 69 6e 64 6f | 77 20 77 69 6e 63 6f 6e |ne-windo|w wincon|
|000025a0| 66 69 67 20 74 68 75 6e | 6b 20 73 74 61 6e 64 61 |fig thun|k standa|
|000025b0| 72 64 2d 6f 75 74 70 75 | 74 20 68 65 6c 70 2d 6d |rd-outpu|t help-m|
|000025c0| 6f 64 65 20 67 65 74 2d | 62 75 66 66 65 72 2d 77 |ode get-|buffer-w|
|000025d0| 69 6e 64 6f 77 20 68 65 | 6c 70 77 69 6e 20 77 69 |indow he|lpwin wi|
|000025e0| 6e 64 6f 77 2d 62 75 66 | 66 65 72 20 68 65 6c 70 |ndow-buf|fer help|
|000025f0| 2d 73 65 6c 65 63 74 73 | 2d 68 65 6c 70 2d 77 69 |-selects|-help-wi|
|00002600| 6e 64 6f 77 20 73 65 6c | 65 63 74 2d 77 69 6e 64 |ndow sel|ect-wind|
|00002610| 6f 77 20 73 65 6c 65 63 | 74 65 64 2d 77 69 6e 64 |ow selec|ted-wind|
|00002620| 6f 77 20 6d 65 73 73 61 | 67 65 20 73 75 62 73 74 |ow messa|ge subst|
|00002630| 69 74 75 74 65 2d 63 6f | 6d 6d 61 6e 64 2d 6b 65 |itute-co|mmand-ke|
|00002640| 79 73 20 22 5c 5c 5b 73 | 63 72 6f 6c 6c 2d 75 70 |ys "\\[s|croll-up|
|00002650| 5d 20 74 6f 20 73 63 72 | 6f 6c 6c 20 74 68 65 20 |] to scr|oll the |
|00002660| 68 65 6c 70 2e 22 20 22 | 5c 5c 5b 73 63 72 6f 6c |help." "|\\[scrol|
|00002670| 6c 2d 6f 74 68 65 72 2d | 77 69 6e 64 6f 77 5d 20 |l-other-|window] |
|00002680| 74 6f 20 73 63 72 6f 6c | 6c 20 74 68 65 20 68 65 |to scrol|l the he|
|00002690| 6c 70 2e 22 5d 20 38 5d | 20 73 65 74 2d 65 78 74 |lp."] 8]| set-ext|
|000026a0| 65 6e 74 2d 6d 6f 75 73 | 65 2d 66 61 63 65 20 23 |ent-mous|e-face #|
|000026b0| 5b 28 65 78 74 65 6e 74 | 20 66 61 63 65 29 20 22 |[(extent| face) "|
|000026c0| c0 c1 5c 6e 21 c3 5c 6e | 21 c4 0d 24 87 22 20 5b |..\n!.\n|!..$." [|
|000026d0| 70 75 74 2d 74 65 78 74 | 2d 70 72 6f 70 65 72 74 |put-text|-propert|
|000026e0| 79 20 6f 76 65 72 6c 61 | 79 2d 73 74 61 72 74 20 |y overla|y-start |
|000026f0| 65 78 74 65 6e 74 20 6f | 76 65 72 6c 61 79 2d 65 |extent o|verlay-e|
|00002700| 6e 64 20 6d 6f 75 73 65 | 2d 66 61 63 65 20 66 61 |nd mouse|-face fa|
|00002710| 63 65 5d 20 35 20 22 53 | 65 74 20 74 68 65 20 66 |ce] 5 "S|et the f|
|00002720| 61 63 65 20 75 73 65 64 | 20 74 6f 20 68 69 67 68 |ace used| to high|
|00002730| 6c 69 67 68 74 20 45 58 | 54 45 4e 54 20 77 68 65 |light EX|TENT whe|
|00002740| 6e 20 74 68 65 20 6d 6f | 75 73 65 20 70 61 73 73 |n the mo|use pass|
|00002750| 65 73 20 6f 76 65 72 20 | 69 74 2e 5c 6e 46 41 43 |es over |it.\nFAC|
|00002760| 45 20 63 61 6e 20 61 6c | 73 6f 20 62 65 20 61 20 |E can al|so be a |
|00002770| 6c 69 73 74 20 6f 66 20 | 66 61 63 65 73 2c 20 61 |list of |faces, a|
|00002780| 6e 64 20 61 6c 6c 20 66 | 61 63 65 73 20 6c 69 73 |nd all f|aces lis|
|00002790| 74 65 64 20 77 69 6c 6c | 20 61 70 70 6c 79 2c 5c |ted will| apply,\|
|000027a0| 6e 77 69 74 68 20 66 61 | 63 65 73 20 65 61 72 6c |nwith fa|ces earl|
|000027b0| 69 65 72 20 69 6e 20 74 | 68 65 20 6c 69 73 74 20 |ier in t|he list |
|000027c0| 74 61 6b 69 6e 67 20 70 | 72 69 6f 72 69 74 79 20 |taking p|riority |
|000027d0| 6f 76 65 72 20 74 68 6f | 73 65 20 6c 61 74 65 72 |over tho|se later|
|000027e0| 20 69 6e 20 74 68 65 5c | 6e 6c 69 73 74 2e 5c 6e | in the\|nlist.\n|
|000027f0| 5c 6e 49 6e 20 74 68 65 | 20 45 6d 61 63 73 20 31 |\nIn the| Emacs 1|
|00002800| 39 2c 20 74 68 65 20 61 | 72 67 75 6d 65 6e 74 20 |9, the a|rgument |
|00002810| 46 41 43 45 20 63 6f 75 | 6c 64 20 6e 6f 74 20 62 |FACE cou|ld not b|
|00002820| 65 20 61 20 6c 69 73 74 | 20 6f 66 20 66 61 63 65 |e a list| of face|
|00002830| 73 2e 22 5d 20 72 65 61 | 64 2d 64 69 72 65 63 74 |s."] rea|d-direct|
|00002840| 6f 72 79 2d 6e 61 6d 65 | 20 72 65 61 64 2d 66 69 |ory-name| read-fi|
|00002850| 6c 65 2d 6e 61 6d 65 20 | 64 65 66 69 6e 65 2d 6f |le-name |define-o|
|00002860| 62 73 6f 6c 65 74 65 2d | 66 75 6e 63 74 69 6f 6e |bsolete-|function|
|00002870| 2d 61 6c 69 61 73 20 23 | 5b 28 6f 6c 64 66 75 6e |-alias #|[(oldfun|
|00002880| 20 6e 65 77 66 75 6e 29 | 20 22 c0 09 5c 6e 5c 22 | newfun)| "..\n\"|
|00002890| 88 c3 09 5c 6e 5c 22 87 | 22 20 5b 64 65 66 69 6e |...\n\".|" [defin|
|000028a0| 65 2d 66 75 6e 63 74 69 | 6f 6e 20 6f 6c 64 66 75 |e-functi|on oldfu|
|000028b0| 6e 20 6e 65 77 66 75 6e | 20 6d 61 6b 65 2d 6f 62 |n newfun| make-ob|
|000028c0| 73 6f 6c 65 74 65 5d 20 | 33 20 22 44 65 66 69 6e |solete] |3 "Defin|
|000028d0| 65 20 4f 4c 44 46 55 4e | 20 61 73 20 61 6e 20 6f |e OLDFUN| as an o|
|000028e0| 62 73 6f 6c 65 74 65 20 | 61 6c 69 61 73 20 66 6f |bsolete |alias fo|
|000028f0| 72 20 66 75 6e 63 74 69 | 6f 6e 20 4e 45 57 46 55 |r functi|on NEWFU|
|00002900| 4e 2e 5c 6e 54 68 69 73 | 20 6d 61 6b 65 73 20 63 |N.\nThis| makes c|
|00002910| 61 6c 6c 69 6e 67 20 4f | 4c 44 46 55 4e 20 65 71 |alling O|LDFUN eq|
|00002920| 75 69 76 61 6c 65 6e 74 | 20 74 6f 20 63 61 6c 6c |uivalent| to call|
|00002930| 69 6e 67 20 4e 45 57 46 | 55 4e 20 61 6e 64 20 6d |ing NEWF|UN and m|
|00002940| 61 72 6b 73 20 4f 4c 44 | 46 55 4e 5c 6e 61 73 20 |arks OLD|FUN\nas |
|00002950| 6f 62 73 6f 6c 65 74 65 | 2e 22 5d 20 62 79 74 65 |obsolete|."] byte|
|00002960| 2d 6f 70 74 69 6d 69 7a | 65 72 20 28 6e 69 6c 20 |-optimiz|er (nil |
|00002970| 62 79 74 65 2d 63 6f 6d | 70 69 6c 65 2d 69 6e 6c |byte-com|pile-inl|
|00002980| 69 6e 65 2d 65 78 70 61 | 6e 64 29 20 65 72 72 6f |ine-expa|nd) erro|
|00002990| 72 20 22 25 73 20 61 6c | 72 65 61 64 79 20 68 61 |r "%s al|ready ha|
|000029a0| 73 20 61 20 62 79 74 65 | 2d 6f 70 74 69 6d 69 7a |s a byte|-optimiz|
|000029b0| 65 72 2c 20 63 61 6e 27 | 74 20 6d 61 6b 65 20 69 |er, can'|t make i|
|000029c0| 74 20 69 6e 6c 69 6e 65 | 22 20 62 79 74 65 2d 63 |t inline|" byte-c|
|000029d0| 6f 6d 70 69 6c 65 2d 69 | 6e 6c 69 6e 65 2d 65 78 |ompile-i|nline-ex|
|000029e0| 70 61 6e 64 20 64 65 66 | 69 6e 65 2d 6f 62 73 6f |pand def|ine-obso|
|000029f0| 6c 65 74 65 2d 76 61 72 | 69 61 62 6c 65 2d 61 6c |lete-var|iable-al|
|00002a00| 69 61 73 20 23 5b 28 6f | 6c 64 76 61 72 20 6e 65 |ias #[(o|ldvar ne|
|00002a10| 77 76 61 72 29 20 22 c0 | 09 5c 6e 5c 22 87 22 20 |wvar) ".|.\n\"." |
|00002a20| 5b 6d 61 6b 65 2d 6f 62 | 73 6f 6c 65 74 65 2d 76 |[make-ob|solete-v|
|00002a30| 61 72 69 61 62 6c 65 20 | 6f 6c 64 76 61 72 20 6e |ariable |oldvar n|
|00002a40| 65 77 76 61 72 5d 20 33 | 20 22 44 65 66 69 6e 65 |ewvar] 3| "Define|
|00002a50| 20 4f 4c 44 56 41 52 20 | 61 73 20 61 6e 20 6f 62 | OLDVAR |as an ob|
|00002a60| 73 6f 6c 65 74 65 20 61 | 6c 69 61 73 20 66 6f 72 |solete a|lias for|
|00002a70| 20 76 61 72 63 74 69 6f | 6e 20 4e 45 57 56 41 52 | varctio|n NEWVAR|
|00002a80| 2e 5c 6e 54 68 69 73 20 | 6d 61 6b 65 73 20 72 65 |.\nThis |makes re|
|00002a90| 66 65 72 65 6e 63 69 6e | 67 20 6f 72 20 73 65 74 |ferencin|g or set|
|00002aa0| 74 69 6e 67 20 4f 4c 44 | 56 41 52 20 65 71 75 69 |ting OLD|VAR equi|
|00002ab0| 76 61 6c 65 6e 74 20 74 | 6f 20 72 65 66 65 72 65 |valent t|o refere|
|00002ac0| 6e 63 69 6e 67 20 6f 72 | 5c 6e 73 65 74 74 69 6e |ncing or|\nsettin|
|00002ad0| 67 20 4e 45 57 56 41 52 | 20 61 6e 64 20 6d 61 72 |g NEWVAR| and mar|
|00002ae0| 6b 73 20 4f 4c 44 56 41 | 52 20 61 73 20 6f 62 73 |ks OLDVA|R as obs|
|00002af0| 6f 6c 65 74 65 2e 5c 6e | 5c 6e 49 74 20 69 73 20 |olete.\n|\nIt is |
|00002b00| 6e 6f 74 20 66 75 6c 6c | 20 69 6d 70 6c 65 6d 65 |not full| impleme|
|00002b10| 6e 74 65 64 20 69 6e 20 | 74 68 65 20 45 6d 61 63 |nted in |the Emac|
|00002b20| 73 20 31 39 2c 20 62 65 | 63 61 75 73 65 20 6f 66 |s 19, be|cause of|
|00002b30| 20 74 68 65 20 6c 61 63 | 6b 20 6f 66 5c 6e 74 68 | the lac|k of\nth|
|00002b40| 65 20 66 75 6e 63 74 69 | 6f 6e 20 64 65 66 76 61 |e functi|on defva|
|00002b50| 72 61 6c 69 61 73 2e 79 | 22 5d 20 64 65 66 67 72 |ralias.y|"] defgr|
|00002b60| 6f 75 70 20 28 6d 61 63 | 72 6f 20 2e 20 23 5b 28 |oup (mac|ro . #[(|
|00002b70| 73 79 6d 62 6f 6c 20 6d | 65 6d 62 65 72 73 20 64 |symbol m|embers d|
|00002b80| 6f 63 20 26 72 65 73 74 | 20 61 72 67 73 29 20 22 |oc &rest| args) "|
|00002b90| c0 87 22 20 5b 6e 69 6c | 5d 20 31 20 22 44 75 6d |.." [nil|] 1 "Dum|
|00002ba0| 6d 79 20 64 65 66 69 6e | 69 74 69 6f 6e 2e 20 55 |my defin|ition. U|
|00002bb0| 73 65 64 2c 20 69 66 20 | 74 68 65 20 63 75 73 74 |sed, if |the cust|
|00002bc0| 6f 6d 20 70 61 63 6b 61 | 67 65 20 69 73 6e 27 74 |om packa|ge isn't|
|00002bd0| 20 69 6e 73 74 61 6c 6c | 65 64 2e 5c 6e 54 68 65 | install|ed.\nThe|
|00002be0| 20 64 75 6d 6d 79 20 64 | 65 66 69 6e 69 74 69 6f | dummy d|efinitio|
|00002bf0| 6e 20 6d 61 6b 65 73 20 | 6e 6f 74 68 69 6e 67 2c |n makes |nothing,|
|00002c00| 20 69 74 20 72 65 74 75 | 72 6e 73 20 6f 6e 6c 79 | it retu|rns only|
|00002c10| 20 6e 69 6c 2e 22 5d 29 | 20 64 65 66 63 75 73 74 | nil."])| defcust|
|00002c20| 6f 6d 20 28 6d 61 63 72 | 6f 20 2e 20 23 5b 28 73 |om (macr|o . #[(s|
|00002c30| 79 6d 62 6f 6c 20 76 61 | 6c 75 65 20 64 6f 63 20 |ymbol va|lue doc |
|00002c40| 26 72 65 73 74 20 61 72 | 67 73 29 20 22 c0 09 5c |&rest ar|gs) "..\|
|00002c50| 6e 0b 46 87 22 20 5b 64 | 65 66 76 61 72 20 73 79 |n.F." [d|efvar sy|
|00002c60| 6d 62 6f 6c 20 76 61 6c | 75 65 20 64 6f 63 5d 20 |mbol val|ue doc] |
|00002c70| 34 20 22 53 69 6d 75 6c | 61 74 65 73 20 74 68 65 |4 "Simul|ates the|
|00002c80| 20 64 65 66 63 75 73 74 | 6f 6d 20 64 65 66 69 6e | defcust|om defin|
|00002c90| 69 74 69 6f 6e 20 66 72 | 6f 6d 20 74 68 65 20 63 |ition fr|om the c|
|00002ca0| 75 73 74 6f 6d 20 70 61 | 63 6b 61 67 65 2e 5c 6e |ustom pa|ckage.\n|
|00002cb0| 49 74 20 63 61 6c 6c 65 | 73 20 61 20 60 64 65 66 |It calle|s a `def|
|00002cc0| 76 61 72 27 20 77 69 74 | 68 20 74 68 65 20 61 72 |var' wit|h the ar|
|00002cd0| 67 75 6d 65 6e 74 73 20 | 53 59 4d 42 4f 4c 2c 20 |guments |SYMBOL, |
|00002ce0| 56 41 4c 55 45 20 61 6e | 64 20 44 4f 43 2e 22 5d |VALUE an|d DOC."]|
|00002cf0| 29 20 70 72 6f 76 69 64 | 65 20 61 64 61 70 74 5d |) provid|e adapt]|
|00002d00| 20 34 29 0a | | 4). | |
+--------+-------------------------+-------------------------+--------+--------+